<div id="sanpham_right">
           	    <div id="title_right">
            		<p id="title_right_left"></p>
            		<div id="title_right_center">
            		  <p class="chu_title">DANH SÁCH TIN TỨC </p>
            		</div>
           			<p id="title_right_right"></p>
             	</div>
                <div id="noidung_right">
<?php if(isset($data['tin'])){?>
<div id="high-end_laptop" class="general">
           
            <div id="high-end_laptop_contain" class="contain_left">
              <table width="100%" border="0">
                 <tr>
                   <td scope="row">
					 <!-- begin new-->
					 <?php foreach($data['tin'] as $item){?>
                     <div id="news_main">
                       <div id="img_news"><a href="index.php?mod=detailtin&id=<?php echo $item['MaTin'];?>"><img src="public/<?php echo $item['Hinh'];?>" width=" 100px" height="100px"/></a></div>
                       <div id="con_news">
                         <p class="news_main_title"><a href="index.php?mod=detailtin&id=<?php echo $item['MaTin'];?>"><?php echo $item['TieuDe'];?></a></p>
                         <p class="con_main_news"> <?php echo @$item['TomTat'];?> </p>
                         <p class="img_xemchitiet_news"><a href="index.php?mod=detailtin&id=<?php echo $item['MaTin'];?>"><img src="public/images/chitiet_news.png" width=" 71px" height="31px"/></a></p>    
                       </div>
                          <div id="vien_main_news"></div>
                     </div>
                      <?php } ?>
                 	<!-- end news-->
                 </td>
              </tr>
            </table>
           		</div> 
            </div>
           <?php } else {echo 'Không có tin !';}?>
           </div>
           </div>